// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

//js
import FastClick from 'fastclick'
FastClick.attach(document.body);

import './assets/css/reset.css'
import './assets/css/iconfont.css'

//vant
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);

//axios
import axios from 'axios'
Vue.prototype.$http = axios

//vuex
import store from './store'

//ElementUI
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import 'element-ui/lib/index.js'
Vue.use(ElementUI)

//VueAwesomeSwiper
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/css/swiper.css';
import 'swiper/js/swiper.js';
Vue.use(VueAwesomeSwiper)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
